package cn.lwj.webService.entity;

import cn.lwj.webService.util.XmlXStreamUtils;
import java.io.Serializable;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@SuppressWarnings("serial")
@Entity
@Table(name = "T_XF_RDJZB_YQSQ" )
public class TxfRdjzbYqsq implements Serializable {
	
	private String cJzbId;//四级业务主键
	private Integer nSqyqts;//申请延期天数
	private String cYqyy;//申请延期原因
	private Date dtSqsj;//申请时间
	private String cSqfybm;//申请法院编码
	private String cSqfymc;//申请法院名称
	private String cSqbmbm;//申请部门编码
	private String cSqbmmc;//申请部门名称
	private String cSqrbm;//申请人编码
	private String cSqrmc;//申请人名称
	private Integer nSpbz;//审批标志，待审批：0，同意：1，不同意：2
	private Integer nTbbz;//同步标志, 1:申请已拉取  2:反馈已拉取(反馈并且同步到基层后才能再次申请延期)
	private String cSpfybm;//审批法院编码
	private String cSpfymc;//审批法院名称
	private String cSpbmbm;//审批部门编码
	private String cSpbmmc;//审批部门名称
	private String cSprbm;//审批人编码
	private String cSprmc;//审批人名称
	private String cSpyjms;//审批意见描述
	private Integer nYqts;//同意延期天数
	private Date dtSpsj;//审批时间
	private Date dtTimestamp;//时间戳

    public static String toXmlString(TxfRdjzbYqsq txfYqsq) {
        Map<String, Class> aliasInfo = new HashMap() {{
            put("result", TxfRdjzbYqsq.class);
        }};
        return XmlXStreamUtils.objectToXml(1, txfYqsq, aliasInfo);
    }
    @Id
    @Column(name = "C_JZB_ID")
    public String getcJzbId() {
        return cJzbId;
    }

    public void setcJzbId(String cJzbId) {
        this.cJzbId = cJzbId;
    }

    @Column(name = "N_SQYQTS")
    public Integer getnSqyqts() {
        return nSqyqts;
    }

    public void setnSqyqts(Integer nSqyqts) {
        this.nSqyqts = nSqyqts;
    }

    @Column(name = "C_YQYY")
    public String getcYqyy() {
        return cYqyy;
    }

    public void setcYqyy(String cYqyy) {
        this.cYqyy = cYqyy;
    }

    @Column(name = "DT_SQSJ")
    public Date getDtSqsj() {
        return dtSqsj;
    }

    public void setDtSqsj(Date dtSqsj) {
        this.dtSqsj = dtSqsj;
    }

    @Column(name = "C_SQFYBM")
    public String getcSqfybm() {
        return cSqfybm;
    }

    public void setcSqfybm(String cSqfybm) {
        this.cSqfybm = cSqfybm;
    }

    @Column(name = "C_SQFYMC")
    public String getcSqfymc() {
        return cSqfymc;
    }

    public void setcSqfymc(String cSqfymc) {
        this.cSqfymc = cSqfymc;
    }

    @Column(name = "C_SQBMBM")
    public String getcSqbmbm() {
        return cSqbmbm;
    }

    public void setcSqbmbm(String cSqbmbm) {
        this.cSqbmbm = cSqbmbm;
    }

    @Column(name = "C_SQBMMC")
    public String getcSqbmmc() {
        return cSqbmmc;
    }

    public void setcSqbmmc(String cSqbmmc) {
        this.cSqbmmc = cSqbmmc;
    }

    @Column(name = "C_SQRBM")
    public String getcSqrbm() {
        return cSqrbm;
    }

    public void setcSqrbm(String cSqrbm) {
        this.cSqrbm = cSqrbm;
    }

    @Column(name = "C_SQRMC")
    public String getcSqrmc() {
        return cSqrmc;
    }

    public void setcSqrmc(String cSqrmc) {
        this.cSqrmc = cSqrmc;
    }

    @Column(name = "N_SPBZ")
    public Integer getnSpbz() {
        return nSpbz;
    }

    public void setnSpbz(Integer nSpbz) {
        this.nSpbz = nSpbz;
    }

    @Column(name = "N_TBBZ")
    public Integer getnTbbz() {
        return nTbbz;
    }

    public void setnTbbz(Integer nTbbz) {
        this.nTbbz = nTbbz;
    }

    @Column(name = "C_SPFYBM")
    public String getcSpfybm() {
        return cSpfybm;
    }

    public void setcSpfybm(String cSpfybm) {
        this.cSpfybm = cSpfybm;
    }

    @Column(name = "C_SPFYMC")
    public String getcSpfymc() {
        return cSpfymc;
    }

    public void setcSpfymc(String cSpfymc) {
        this.cSpfymc = cSpfymc;
    }

    @Column(name = "C_SPBMBM")
    public String getcSpbmbm() {
        return cSpbmbm;
    }

    public void setcSpbmbm(String cSpbmbm) {
        this.cSpbmbm = cSpbmbm;
    }

    @Column(name = "C_SPBMMC")
    public String getcSpbmmc() {
        return cSpbmmc;
    }

    public void setcSpbmmc(String cSpbmmc) {
        this.cSpbmmc = cSpbmmc;
    }

    @Column(name = "C_SPRBM")
    public String getcSprbm() {
        return cSprbm;
    }

    public void setcSprbm(String cSprbm) {
        this.cSprbm = cSprbm;
    }

    @Column(name = "C_SPRMC")
    public String getcSprmc() {
        return cSprmc;
    }

    public void setcSprmc(String cSprmc) {
        this.cSprmc = cSprmc;
    }

    @Column(name = "C_SPYJMS")
    public String getcSpyjms() {
        return cSpyjms;
    }

    public void setcSpyjms(String cSpyjms) {
        this.cSpyjms = cSpyjms;
    }

    @Column(name = "N_YQTS")
    public Integer getnYqts() {
        return nYqts;
    }

    public void setnYqts(Integer nYqts) {
        this.nYqts = nYqts;
    }

    @Column(name = "DT_SPSJ")
    public Date getDtSpsj() {
        return dtSpsj;
    }

    public void setDtSpsj(Date dtSpsj) {
        this.dtSpsj = dtSpsj;
    }

    @Column(name = "DT_TIMESTAMP")
    public Date getDtTimestamp() {
        return dtTimestamp;
    }

    public void setDtTimestamp(Date dtTimestamp) {
        this.dtTimestamp = dtTimestamp;
    }

    @Override
    public String toString() {
        return "TxfYqsq{" +
                "cJzbId='" + cJzbId + '\'' +
                ", nSqyqts=" + nSqyqts +
                ", cYqyy='" + cYqyy + '\'' +
                ", dtSqsj=" + dtSqsj +
                ", cSqfybm='" + cSqfybm + '\'' +
                ", cSqfymc='" + cSqfymc + '\'' +
                ", cSqbmbm='" + cSqbmbm + '\'' +
                ", cSqbmmc='" + cSqbmmc + '\'' +
                ", cSqrbm='" + cSqrbm + '\'' +
                ", cSqrmc='" + cSqrmc + '\'' +
                ", nSpbz=" + nSpbz +
                ", nTbbz=" + nTbbz +
                ", cSpfybm='" + cSpfybm + '\'' +
                ", cSpfymc='" + cSpfymc + '\'' +
                ", cSpbmbm='" + cSpbmbm + '\'' +
                ", cSpbmmc='" + cSpbmmc + '\'' +
                ", cSprbm='" + cSprbm + '\'' +
                ", cSprmc='" + cSprmc + '\'' +
                ", cSpyjms='" + cSpyjms + '\'' +
                ", nYqts=" + nYqts +
                ", dtSpsj=" + dtSpsj +
                ", dtTimestamp=" + dtTimestamp +
                '}';
    }
}
